import type { RouteRecordRaw } from "vue-router"
import { DataScreen, Server, Sphere } from "@icon-park/vue-next"

export const clientRoutes: Array<RouteRecordRaw> = [
  {
    path: "/overview",
    name: "overview",
    component: () => import("@/views/client/overview/Index.vue"),
    meta: {
      title: "概览",
      icon: DataScreen,
      breadcrumb: ["概览"]
    }
  },
  {
    path: "/server-management",
    name: "server-management",
    component: () => import("@/views/client/server-management/Index.vue"),
    meta: {
      title: "服务节点",
      icon: Server,
      breadcrumb: ["服务节点"]
    }
  },
  {
    path: "/http-https-proxy",
    name: "http-https-proxy",
    component: () => import("@/views/client/http-https-proxy/Index.vue"),
    meta: {
      title: "HTTP&HTTPS代理",
      icon: Sphere,
      breadcrumb: ["HTTP&HTTPS代理"]
    }
  }
]
